#include <iostream>
#include <string>
#include <map>
using namespace std;

// int main()
// {
//     cout<<typeid(string).name()<<endl;
//     cout<<typeid(string::iterator).name()<<endl;
//     return 0;
// }

int main()
{
    map<string,string> m1;
    pair<string,string> p1("watermelon","西瓜");
    m1.insert(p1);
    //匿名对象
    m1.insert(pair<string,string>("apple","苹果"));
    //推导+构造
    m1.insert(make_pair("orange","橙子"));
    m1.insert({"peach","桃子"});
    //支持initilalizer
    map<string,string> m2={{"watermelon","西瓜"},{"apple","苹果"},{"orange","橙子"},{"peach","桃子"}};


    return 0;
}